#set(page_title = @Pag.configure().sitename + @Pag.lang("管理后台")) #tag _layout("/WEB-INF/tpl/layout.html")
<link href="${jui}themes/css/style.css" rel="stylesheet" media="screen" />
<link href="${jui}themes/purple/core.css" rel="stylesheet" media="screen" />
<link href="${jui}plugs/bootstrapSelect/bootstrap-select.css" rel="stylesheet" media="screen" />
<link href="${jui}plugs/colorpicker/css/bootstrap-colorpicker.min.css" rel="stylesheet" media="screen" />
<link href="${jui}plugs/uploadify/css/uploadify.css" rel="stylesheet" media="screen" />
<link href="${jui}plugs/Huploadify/Huploadify.css" rel="stylesheet" media="screen" />
<link href="${jui}plugs/kindeditor_4.1.10/themes/default/default.css" rel="stylesheet" media="screen" />
<script src="${jui}js/dwz.min.js"></script>
<script src="${jui}plugs/colorpicker/js/bootstrap-colorpicker.min.js"></script>
<script src="${jui}plugs/uploadify/scripts/jquery.uploadify.min.js"></script>
<script src="${jui}plugs/kindeditor_4.1.10/kindeditor-all.min.js"></script>
<script src="${jui}plugs/kindeditor_4.1.10/lang/${locale}.js"></script>
<script src="${jui}plugs/Huploadify/jquery.Huploadify.min.js"></script>
<script src="${jui}plugs/ztree/jquery.ztree.core-3.5.min.js"></script>
<script src="${jui}plugs/ztree/jquery.ztree.excheck-3.5.min.js"></script>
<script src="${jui}plugs/ztree/jquery.ztree.exedit-3.5.min.js"></script>
<script src="${jui}plugs/ztree/jquery.ztree.exhide-3.5.min.js"></script>
<script src="${jui}plugs/icheck/icheck.min.js"></script>
<script src="${jui}plugs/dragsort/jquery.dragsort-0.5.1.min.js"></script>
<script src="${jui}plugs/clock/jqClock.min.js"></script>
<script type="text/javascript">
$(function(){
    DWZ.init("${jui}dwz.frag.xml", {
        loginUrl:"logintimeout.html", loginTitle:"${@Pag.lang("登录")}",
        statusCode:{ok:200, error:300, timeout:301},
        pageInfo:{pageNum:"pageNum", numPerPage:"numPerPage", orderField:"orderField", orderDirection:"orderDirection"},
        keys: {statusCode:"statusCode", message:"message"},
        ui:{hideMode:'display'},
        debug:false,
        callback:function(){
            initEnv();
            $("#topTheme").theme({themeBase:"${jui}themes"});
        }
    });
    var nowtime = new Date().getTime();
    $("#clock").clock({"timestamp":nowtime, "format":"24", "calendar":"false"});
});
function MainMenuClick(event, treeId, treeNode) {
    if (treeNode.isParent) {
        var zTree = $.fn.zTree.getZTreeObj(treeId);
        zTree.expandNode(treeNode);
        return;
    }
    if (treeNode.target && treeNode.target == 'dialog') {
        $.pdialog.open(treeNode.nurl, treeNode.rel, treeNode.name, {});
    } else if (treeNode.target && treeNode.target == 'navTab') {
        navTab.openTab(treeNode.rel, treeNode.nurl, { title: treeNode.name});
    }
}
</script>
#define(JiUserBase USER)
	<!--[if lte IE 7]>
        <div id="errorie">IE too lower!</div>
    <![endif]-->
	<div id="layout">
		<div id="header">
			<div class="headerNav">
				<a class="logo" href="${ADMIN_ROUTE}" target=_blank><img
					src="${jui}images/logo.png" height="50" /></a>
				<ul class="topnav">
					<li>${now().format("yyyy-MM-dd")}&nbsp;<span id="clock"></span></li>
					<li>${@Pag.lang("当前用户：")}${USER.username}</li>
					<li><a href="changepwd.html" target="dialog" mask="true"
						rel="changepwd_page" width="400" height="260">${@Pag.lang("修改密码")}</a></li>
					<li><a href="${SITE_ROUTE}" target="_blank">${@Pag.lang("网站首页")}</a></li>
					<li><a href="${ADMIN_ROUTE}/login/out">${@Pag.lang("退出")}</a></li>
				</ul>
				<ul class="topTheme" id="topTheme">
					<li theme="default" class="theme_default" title="${@Pag.lang("黑白分明")}"><i
						class="fa fa-circle"></i></li>
					<li theme="orange" class="theme_orange" title="${@Pag.lang("橘子红了")}"><i
						class="fa fa-circle"></i></li>
					<li theme="purple" class="theme_purple" title="${@Pag.lang("紫罗兰")}"><i
						class="fa fa-circle"></i></li>
					<li theme="blue" class="theme_blue" title="${@Pag.lang("青出于蓝")}"><i
						class="fa fa-circle"></i></li>
					<li theme="green" class="theme_green" title="${@Pag.lang("绿草如茵")}"><i
						class="fa fa-circle"></i></li>
				</ul>
			</div>
		</div>
		<div id="leftside">
			<div id="sidebar_s">
				<div class="collapse">
					<div class="toggleCollapse">
						<div title="${@Pag.lang("展开菜单")}">
							<i class="fa fa-angle-double-right"></i>
						</div>
					</div>
				</div>
			</div>
			<div id="sidebar">
				<div class="toggleCollapse">
					<h2>${@Pag.lang("主菜单")}</h2>
					<div title="${@Pag.lang("收缩菜单")}">
						<i class="fa fa-angle-double-left"></i>
					</div>
				</div>
				<div class="panel-group panel-main j-accordion" id="accordion_menu"
					data-heightbox="#sidebar" data-offsety="24">
					#include("menu.html")
</div>
			</div>
		</div>
		<div id="container">
			<div id="navTab" class="tabsPage">
				<div class="tabsPageHeader">
					<div class="tabsPageHeaderContent">
						<ul class="navTab-tab nav nav-tabs">
							<li tabid="main" class="main"><a href="javascript:;"><span><span
										class="home_icon">我的主页</span></span></a></li>
						</ul>
					</div>
					<div class="tabsLeft">
						<i class="fa fa-angle-double-left"></i>
					</div>
					<div class="tabsRight">
						<i class="fa fa-angle-double-right"></i>
					</div>
					<div class="tabsMore">
						<i class="fa fa-angle-double-down"></i>
					</div>
				</div>
				<ul class="tabsMoreList">
					<li><a href="javascript:;">我的主页</a></li>
				</ul>
				<div class="navTab-panel tabsPageContent layoutBox">
					<div class="page unitBox">
						<div class="accountInfo">
							<div style="padding: 0 15px; border-bottom: 1px #DDD solid;">
								<h4>
									Bootstrap for DWZ富客户端框架 <a target="_blank"
										href="http://shang.qq.com/wpa/qunwpa?idkey=0047455f3845597286edd381d54076b1e10a45c0c735115f0ee74961f70880af"><img
										border="0" src="http://pub.idqqimg.com/wpa/images/group.png"
										alt="[B-JUI]Bootstrap4DWZ交流群" title="[B-JUI]Bootstrap4DWZ交流群"
										style="vertical-align: top;"></a>
								</h4>
								<hr style="margin: 12px 0 0px;">
								<div class="row">
									<div class="col-md-6">
										<h5>
											网址：<a href="http://www.xknaan.com/" target="_blank">http://www.xknaan.com/</a>
										</h5>
										<h5>
											项目地址：<a
												href="http://git.oschina.net/xknaan/Bootstrap_for_DWZ"
												target="_blank">GIT</a> <a
												href="http://www.oschina.net/p/bootstrap-for-DWZ"
												target="_blank">OSCHINA</a>
										</h5>
										<h5>
											微博地址：<a href="http://weibo.com/xknaan" target="_blank">http://weibo.com/xknaan</a>
										</h5>
									</div>
									<div class="col-md-6">
										<h5>
											DWZ(J-UI)官网：<a href="http://www.j-ui.com/" target="_blank">http://www.j-ui.com/</a>
										</h5>
										<h5>
											Bootstrap中文网：<a href="http://www.bootcss.com/"
												target="_blank">http://www.bootcss.com/</a>
										</h5>
										<h5>QQ交流群：232781006</h5>
									</div>
								</div>
								<h5></h5>
							</div>
						</div>
						<div class="pageFormContent" layoutH="100">
							<div style="width: 100%; overflow: hidden;">
								<div class="row" style="padding: 0 10px;">
									<div class="col-md-4">
										<div class="panel panel-default">
											<div class="panel-heading">
												<h3 class="panel-title">账号信息</h3>
											</div>
											<div class="panel-body">
												<div class="form-group">
													<label class="control-label x80">登陆账号：</label> <span>admin</span>
												</div>
												<div class="form-group">
													<label class="control-label x80">所属角色：</label> <span>超级管理员</span>
												</div>
												<div class="form-group">
													<label class="control-label x80">姓名：</label> <span>admin</span>
												</div>
												<div class="form-group">
													<label class="control-label x80">上次登陆：</label> <span>127.0.0.1
														@ 2014-07-23 09:30</span>
												</div>
											</div>
										</div>
									</div>
									<div class="col-md-4">
										<div class="panel panel-default">
											<div class="panel-heading">
												<h3 class="panel-title">信息发布</h3>
											</div>
											<div class="panel-body">
												<div class="form-group">
													<label class="control-label x80">我添加的：</label> <span><a
														href="news" target="navTab" rel="news_list" title="新闻管理">1
															条信息</a></span>
												</div>
												<div class="form-group">
													<label class="control-label x80">已删除的：</label> <span>0
														条信息</span>
												</div>
												<div class="form-group" style="margin-bottom: -4px;">
													<label class="control-label x80">快速操作：</label> <span>
														<a href="javascript:;" class="btn btn-default btn-sm">添加信息</a>
														<a href="javascript:;" class="btn btn-default btn-sm">审核操作</a>
														<!--  
                                                        <a href="javascript:;" onclick="main_add_news('内容', true);" class="btn btn-default btn-sm">添加内容</a>
                                                        -->
													</span>
												</div>
												<div class="form-group">
													<label class="control-label x80"></label> &nbsp;
												</div>
											</div>
										</div>
									</div>
									<div class="col-md-4">
										<div class="panel panel-default">
											<div class="panel-heading">
												<h3 class="panel-title">站内消息</h3>
											</div>
											<div class="panel-body">
												<table
													class="table table-condensed table-hover table-striped"
													width="100%">
													<thead>
														<tr>
															<th class="center">时间</th>
															<th class="center">by</th>
															<th class="center">内容</th>
															<th class="center">状态</th>
														</tr>
													</thead>
													<tbody>
														<tr>
															<td class="center">07/23 09:30</td>
															<td class="center">admin</td>
															<td class="center">明天上午10：00开会。</td>
															<td class="center"><span class="label label-warning">未读</span></td>
														</tr>
														<tr>
															<td class="center">07/20 15:05</td>
															<td class="center">admin</td>
															<td class="center">项目X的完成进度通报。</td>
															<td class="center"><span class="label label-success">已读</span></td>
														</tr>
													</tbody>
												</table>
											</div>
										</div>
									</div>
									<div class="col-md-12">
										<div class="panel panel-default">
											<div class="panel-heading">
												<h3 class="panel-title">最近登陆</h3>
											</div>
											<div class="panel-body">
												<table class="table table-condensed table-striped"
													width="100%">
													<thead>
														<tr>
															<th class="center">时间</th>
															<th class="center">登陆账号</th>
															<th class="center">IP</th>
															<th class="center">登陆状态</th>
															<th class="center">描述</th>
														</tr>
													</thead>
													<tbody>
														<tr>
															<td class="center">2014-07-23 09:30:44</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-22 17:11:38</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-22 09:11:13</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-21 11:16:35</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-21 10:04:41</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-16 11:16:37</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-16 10:25:38</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-16 10:17:06</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-16 10:14:23</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
														<tr>
															<td class="center">2014-07-16 09:42:01</td>
															<td class="center">admin</td>
															<td class="center">127.0.0.1</td>
															<td class="center"><font color='green'>成功</font></td>
															<td class="center">登陆成功！</td>
														</tr>
													</tbody>
												</table>
											</div>
										</div>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
	<div id="footer">
		Copyright &copy; 2014 - 2015 <a href="http://absir.com/"
			target="_blank">Achieve Server开发框架</a>
	</div>
	#end